package com.sumainfor.zuul.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.sumainfor.zuul.entity.SysUserTokenEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * 系统用户Token
 */
@Mapper
public interface SysUserTokenDao extends BaseMapper<SysUserTokenEntity> {

    SysUserTokenEntity queryByToken(String token);


    Integer deletePactToken();

    SysUserTokenEntity queryByUserId(Integer userId);

}
